home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Present…nuary (Partner) - Disc 1
/
The Apple Reference and Presentations Library (Disc 1)(January 1994).iso
/
Aldus
/
US English
/
PageMaker 5.0
/
PageMaker 5.0 PPC
/
PM5.0P TV RSRC
/
PM5.0P TV RSRC.rsrc
/
PSRC_132
< prev
next >
Wrap
Text File
|
1994-05-25
|
7KB
|
91 lines
œ%%BeginResource: procset ALSEP_PS 1.0 1
%%Copyright: (C) Copyright 1992 Aldus Corporation. All Rights Reserved.
%%Version: 1.0 1
/setpacking where{pop currentpacking true setpacking}if userdict/ALSEP 100
dict dup begin put/bdef{bind def}bind def/xdef{exch def}bdef/ldef{load def}
bdef/ndef{1 index where{pop pop pop}{dup xcheck{bind}if def}ifelse}bdef
/languagelevel 1 def/colordict null def/_sepredefs null def/_sep? false def
/_sepink null def/_op false def/_isReg? false def/_sepMX matrix def/_isDCS?
false def/$image systemdict/image get def/$imagemask systemdict/imagemask get
def/$setgray systemdict/setgray get def/colorimage{$image}ndef/$colorimage
/colorimage ldef/*$setcmyk systemdict/setcmykcolor known{systemdict
/setcmykcolor get}{{1 sub 4 1 roll 3{3 index add neg dup 0 lt{pop 0}if 3 1
roll}repeat systemdict/setrgbcolor get exec pop}}ifelse def/c2`{dict ALSEP
/colordict 3 -1 roll put}bdef/d2`{exch cvn exch colordict 3 1 roll put}bdef
/e2`{dup ALSEP/_sepredefs 3 -1 roll put dup/bw ne{ALSEP/_sep? true put}{ALSEP
/_sep? false put}ifelse ALSEP exch get exec cvn ALSEP/_sepink 3 -1 roll put}
bdef/inverted? 0 currenttransfer exec .5 ge def/setcmykcolor{pop pop pop pop
ALSEP/_isReg? false put}def/setcmykcoloroverprint{pop pop pop pop}bdef
/findcmykcustomcolor{5/packedarray where{pop packedarray}{array astore
readonly}ifelse}bdef/findcmykprocesscolor{5/packedarray where{pop packedarray}
{array astore readonly}ifelse}bdef/setgray{1 exch sub 0 0 0 4 -1 roll
setcmykcolor ALSEP/_isReg? false put}bdef/ToProcess?{_sep?{colordict exch
known not}{pop false}ifelse}bdef/OnMask?{_sep?{cvn _sepink eq}{pop true}ifelse
}bdef/setcustomcolor{exch aload pop dup ToProcess?{pop 4{4 index mul 4 1 roll}
repeat setcmykcolor pop}{5 1 roll 4{pop}repeat OnMask?{1 exch sub $setgray}{
pop 1 $setgray}ifelse}ifelse ALSEP/_isReg? false put}bdef/setprocesscolor{exch
aload pop _sep?{pop 4{4 index mul 4 1 roll}repeat setcmykcolor pop}{5{pop}
repeat 1 exch sub $setgray}ifelse ALSEP/_isReg? false put}bdef
/setseparationgray{$setgray ALSEP/_isReg? true put}bdef/setoverprint{ALSEP/_op
3 -1 roll put}bdef/currentoverprint{ALSEP/_op get}bdef/paint?{ALSEP begin
currentoverprint not currentgray 1 ne or _isReg? or end}bdef/_ucrk .5 def
/_ucrm .31 def/_ucry .48 def/_boostk 1.25 def/cvt1{1 exch sub 3 1 roll}bdef
/cvt2{0 2 copy lt{exch}if pop 3 1 roll}bdef/setrgbcolor{cvt1 cvt1 cvt1 3 copy
2 copy gt{exch}if pop 2 copy gt{exch}if pop _ucrk sub 0 2 copy lt{exch}if pop
4 1 roll 3{3 index sub 3 1 roll}repeat 1 index _ucry mul sub cvt2 1 index
_ucrm mul sub cvt2 3 1 roll 4 -1 roll _boostk mul setcmykcolor ALSEP/_isReg?
false put}bdef/sethsbcolor{sethsbcolor currentrgbcolor setrgbcolor ALSEP
/_isReg? false put}bdef/&stroke/stroke ldef/&fill/fill ldef/&eofill/eofill
ldef/&show/show ldef/&ashow/ashow ldef/&widthshow/widthshow ldef/&awidthshow
/awidthshow ldef/&kshow/kshow ldef/stroke{paint?{&stroke}{newpath}ifelse}bdef
/fill{paint?{&fill}{newpath}ifelse}bdef/eofill{paint?{&eofill}{newpath}ifelse}
bdef/show{paint?{&show}{gsave _sepMX currentmatrix nulldevice setmatrix &show
currentpoint grestore moveto}ifelse}bdef/ashow{paint?{&ashow}{gsave _sepMX
currentmatrix nulldevice setmatrix &ashow currentpoint grestore moveto}ifelse}
bdef/widthshow{paint?{&widthshow}{gsave _sepMX currentmatrix nulldevice
setmatrix &widthshow currentpoint grestore moveto}ifelse}bdef/awidthshow{
paint?{&awidthshow}{gsave _sepMX currentmatrix nulldevice setmatrix
&awidthshow currentpoint grestore moveto}ifelse}bdef/kshow{paint?{&kshow}{
gsave _sepMX currentmatrix nulldevice setmatrix &kshow currentpoint grestore
moveto}ifelse}bdef/separationimage{$image}bdef/_invbuf{0 1 2 index length 1
sub{dup 2 index exch get 255 exch sub 2 index 3 1 roll put}for}bdef/clrimage{
paint?{currentgray 1 ne{$colorimage}{inverted?{{pop 0}}{{pop 1}}ifelse
systemdict begin settransfer end $colorimage}ifelse}{gsave nulldevice
$colorimage grestore}ifelse}bdef/imagemask{_isDCS?{$imagemask}{paint?{
$imagemask}{gsave nulldevice $imagemask grestore}ifelse}ifelse}bdef/image{
_isDCS?{$image}{paint?{currentgray 1 ne{$image}{inverted?{{pop 0}}{{pop 1}}
ifelse systemdict begin settransfer end $image}ifelse}{gsave nulldevice $image
grestore}ifelse}ifelse}bdef/alpsimage{paint?{currentgray 1 ne{$image}{
inverted?{{pop 0}}{{pop 1}}ifelse systemdict begin settransfer end $image}
ifelse}{gsave nulldevice $image grestore}ifelse}bdef/customcolorimage{aload
pop dup ToProcess?{pop setcmykcolor/imtnt 1 currentgray sub def
currenttransfer{imtnt mul 1 imtnt sub add}addprocs settransfer}{5 1 roll 4{pop
}repeat 1 exch OnMask?{1 exch sub $setgray}{pop 1 $setgray}ifelse}ifelse
alpsimage}bdef/e2a`{ALSEP/_isDCS? true put}bdef/e2b`{ALSEP/_isDCS? false put}
bdef/spot{/setcmykcolor{pop pop pop pop 1 $setgray ALSEP/_isReg? false put}def
/colorimage{dup 4 ne 2 index not or{gsave 1 $setgray clrimage grestore}{gsave
1 $setgray pop pop[5 -1 roll/exec cvx 6 -1 roll/exec cvx 7 -1 roll/exec cvx 8
-1 roll/exec cvx/exch cvx/pop cvx/exch cvx/pop cvx/exch cvx/pop cvx/_invbuf
cvx]cvx alpsimage grestore}ifelse}def}bdef/c{/setcmykcolor{pop pop pop 1 exch
sub $setgray ALSEP/_isReg? false put}def/colorimage{dup 4 ne 2 index not or{
gsave 1 $setgray clrimage grestore}{gsave 0 $setgray pop pop[5 -1 roll/exec
cvx 6 -1 roll/exec cvx 7 -1 roll/exec cvx 8 -1 roll/exec cvx/pop cvx/pop cvx
/pop cvx/_invbuf cvx]cvx alpsimage grestore}ifelse}def}bdef/m{/setcmykcolor{
pop pop exch pop 1 exch sub $setgray ALSEP/_isReg? false put}def/colorimage{
dup 4 ne 2 index not or{gsave 1 $setgray clrimage grestore}{gsave 0 $setgray
pop pop[5 -1 roll/exec cvx 6 -1 roll/exec cvx 7 -1 roll/exec cvx 8 -1 roll
/exec cvx/pop cvx/pop cvx/exch cvx/pop cvx/_invbuf cvx]cvx alpsimage grestore}
ifelse}def}bdef/y{/setcmykcolor{pop 3 1 roll pop pop 1 exch sub $setgray ALSEP
/_isReg? false put}def/colorimage{dup 4 ne 2 index not or{gsave 1 $setgray
clrimage grestore}{gsave 0 $setgray pop pop[5 -1 roll/exec cvx 6 -1 roll/exec
cvx 7 -1 roll/exec cvx 8 -1 roll/exec cvx/pop cvx/exch cvx/pop cvx/exch cvx
/pop cvx/_invbuf cvx]cvx alpsimage grestore}ifelse}def}bdef/k{/setcmykcolor{4
1 roll pop pop pop 1 exch sub $setgray ALSEP/_isReg? false put}def/colorimage{
dup 4 ne 2 index not or{gsave 0 $setgray clrimage grestore}{gsave 0 $setgray
pop pop[5 -1 roll/exec cvx 6 -1 roll/exec cvx 7 -1 roll/exec cvx 8 -1 roll
/exec cvx/exch cvx/pop cvx/exch cvx/pop cvx/exch cvx/pop cvx/_invbuf cvx]cvx
alpsimage grestore}ifelse}def}bdef/bw{/setcmykcolor{gsave *$setcmyk
currentgray grestore $setgray ALSEP/_isReg? false put}def/setgray{$setgray}def
}bdef end/setpacking where{pop setpacking}if
%%EndResource